Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enahncement/renamed request analyzer methods #749

Merged
merged 1 commit into from
Feb 10, 2015

Conversation

dantleech
Copy link
Contributor

This PR renames all of the methods in the RequestAnalyzerInterface which begin with getCurrent.

Fixes #170

@@ -179,7 +179,7 @@ public function getCurrentPostParameter()
* Returns the get parameters
* @return array
*/
public function getCurrentGetParameter()
public function getGetParameters()
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why do we do this? It is wrong

These parameters are only used by the ExceptionHandler as far as I can tell.

@alexander-schranz
Copy link
Member

Please add this change to UPGRADE.md requestAnalyzer is used in some projects in the Client services/controllers

@dantleech
Copy link
Contributor Author

ack

@dantleech dantleech force-pushed the enahncement/renamed_request_analyzer_methods branch from 79eac64 to e482170 Compare January 28, 2015 10:16
@dantleech
Copy link
Contributor Author

Added CHANGELOG and UPGRADE. Ready to merge /cc @chirimoya

@dantleech
Copy link
Contributor Author

@wachterjohannes @danrot can you approve this? then I will rebase and merge. (the test failure is due to the contact tests, not related).

@wachterjohannes
Copy link
Member

@dantleech i think someone of use should review it and merge it after release on monday!

@@ -2,8 +2,10 @@ CHANGELOG for Sulu
==================

* dev-develop

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we don't put new lines in these lists

@danrot
Copy link
Contributor

danrot commented Feb 9, 2015

If the tests are running after the rebase it is fine for me.

- Renamed getCurrentMatchType
- Renamed getCurrentWebspace
- Renamed getCurrentPortal*
- Renamed getCurrentSegment
- Renamed getCurrentRedirect
- Renamed getCurrentResourceLocator*
- Renamed getCurrentGet|PostParameter
- Renamed getCurrentAnalyticsKey
@dantleech dantleech force-pushed the enahncement/renamed_request_analyzer_methods branch from e482170 to 8c59f64 Compare February 10, 2015 12:06
dantleech added a commit that referenced this pull request Feb 10, 2015
…lyzer_methods

Enahncement/renamed request analyzer methods
@dantleech dantleech merged commit aea023c into develop Feb 10, 2015
@dantleech dantleech deleted the enahncement/renamed_request_analyzer_methods branch February 10, 2015 12:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[RFC] Renamings of request analyzer methods
4 participants